function P=s_simple(G,P,k)
% s_simple: An example subroutine to step a player with the so-called "simple motion"
%
% SYNTAX:
%   P = s_simple(G,P,k)
%   Return the player object with updated position (P.pos) ,angle (P.ang) and states (P.Vars).

%   Author: Hongbin Ma
%   Last updated: 2009-6-2 with MATLAB 6.5
%   Problems or suggestions? Email me: mathmhb[at]163.com

P.ang=P.ang+feval(P.delta_ang_func,G,P,k);
P.pos=P.pos+def_delta_pos_func(G,P,k);
P=feval(P.calc_Vars_func,G,P,k);
